package com.tcs.model.porxypool;

/**
 * 可以自己修改或添加.以达到自己的缓存要求
 * @author wangbo
 */
public class CacheBean {

	// 缓存配置路径
	private String cacheClassPath;
	
	// 地址
	private String service;
	
	// 链接超时
	private Integer connectionTimeout;
	
	// 获取数据超时
	private Integer soTimeout;

	// 最大重试次数
	private Integer maxAttempts;
	
	// 密码
	private String password;

	public String getCacheClassPath() {
		return cacheClassPath;
	}

	public void setCacheClassPath(String cacheClassPath) {
		this.cacheClassPath = cacheClassPath;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public Integer getConnectionTimeout() {
		return connectionTimeout;
	}

	public void setConnectionTimeout(Integer connectionTimeout) {
		this.connectionTimeout = connectionTimeout;
	}

	public Integer getSoTimeout() {
		return soTimeout;
	}

	public void setSoTimeout(Integer soTimeout) {
		this.soTimeout = soTimeout;
	}

	public Integer getMaxAttempts() {
		return maxAttempts;
	}

	public void setMaxAttempts(Integer maxAttempts) {
		this.maxAttempts = maxAttempts;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "CacheBean [cacheClassPath=" + cacheClassPath + ", service=" + service + ", connectionTimeout="
				+ connectionTimeout + ", soTimeout=" + soTimeout + ", maxAttempts=" + maxAttempts + ", password="
				+ password + "]";
	}
}